package com.blog.personalblog.mapper;

import com.blog.personalblog.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    List<User> findAll();
    void insert(User user);
    void update(User user);
    int delete(int id);
    User getUserById(Integer userId);
}
